#include <iostream>
#include <string>
#include<cmath>
using namespace std;
class Student
{
  static int NUM;
	string m_name;
	int m_id;
	int m_age;
	string m_ma;
public:
	
	Student()
	{
		m_name = "Mike ";
		m_age = 18;
		m_id = NUM;
		m_ma = "Math";
	}
	Student(string name, string ma, int age)
	{
		this->m_name = name;
		this->m_ma = ma;
		this->m_age = age;
		m_id = NUM;
		m_id++;
	}
	void showInfo()
	{
		cout << m_name << " " << m_id << " " << m_ma << " " << m_age << endl;
	}

};

int main() {
	Student s1;
	s1.showInfo();
	Student s2("Tom", "Computer", 19);
	s2.showInfo();
	Student s3(s1);
	s3.showInfo();
	s2.showInfo();
	return 0;
}